package com.github.ecbp.store.service.service;

import com.github.ecbp.common.data.service.BaseService;
import com.github.ecbp.store.service.dto.CouponDTO;
import com.github.ecbp.store.service.entity.Coupon;

import java.util.List;

/**
 * @Author Created by Alex·He on 2020/5/29 9:57
 * @Version 1.0
 * @Description 优惠卷表(Coupon)表服务接口
 */
public interface CouponService extends BaseService<Coupon> {

    boolean save(CouponDTO param);

    boolean removeById(Long id);

    boolean removeByIds(List<Long> ids);

    boolean updateById(CouponDTO param);
}
